package priv.bestbeat.reportcenter.core.pdf.image;

import lombok.Getter;

/**
 * @author bestbeat
 * @date 2022/4/9
 */
@Getter
public class Image {

    private final String url;

    private final Float width;
    private final Float height;
    private final Float repairX;
    private final Float repairY;

    public Image(String url, float width, float height) {
        this(url,width,height,0,15);
    }

    public Image(String url, float width, float height, float repairX, float repairY) {
        this.url = url;
        this.width = width;
        this.height = height;
        this.repairX = repairX;
        this.repairY = repairY;
    }
}
